﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using static LightCAD.UI.DropDownControl;
using LightCAD.Core;

namespace LightCAD.UI
{
    public partial class LayerItemControl : UserControl
    {
        public event EventHandler ItemClick;
        public LcLayer Layer { get;  }
        public LayerItemControl()
        {
            InitializeComponent();
        }

        public LayerItemControl(LcLayer layer)
        {
            InitializeComponent();
            this.Layer = layer;
        }


        private void picOpenClose_Click(object sender, EventArgs e)
        {
            
        }

        private void picFreeFrozen_Click(object sender, EventArgs e)
        {

        }

        private void picVportFreeFrozen_Click(object sender, EventArgs e)
        {

        }

        private void picUnlockLocked_Click(object sender, EventArgs e)
        {

        }

        private void picColor_Click(object sender, EventArgs e)
        {

        }

        private void lblName_Click(object sender, EventArgs e)
        {
            this.ItemClick?.Invoke(sender, e);
        }
    }
}
